package com.zhentao.feign;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.service.ChargeUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: MarketUserFeignController
 * @Author: 振涛教育_Q
 * @Date: 2024/12/22 20:35
 */
@RestController
public class MarketUserFeignController {

    @Autowired
    private ChargeUserService userService;

    /**
     * @description  获取用户积分
     * @author 振涛教育_小Q
     * @date    2024/12/22 20:37
      * @param
     * @return com.zhentao.model.common.dtos.ResponseResult
     */
    @GetMapping("/market/api/user/point/get")
    public ResponseResult getUserPoint(){
        return userService.getUserPoint();
    }

}
